//
//  UserBSDeleteCurrentUser.m
//  Teacher
//
//  Created by 马腾飞 on 15/8/24.
//  Copyright (c) 2015年 xueyinyue. All rights reserved.
//

#import "UserBSDeleteCurrentUser.h"
#import "AppConfig.h"

@implementation UserBSDeleteCurrentUser

- (id)onExecute
{
    NSString *path = [AppConfig fileStrUserLocalPath];
    
    NSError *error;
    if (![[NSFileManager defaultManager] removeItemAtPath:path error:&error]) {
        NSLog(@"remove currentuser Fail:%@",error);
    }
    
    UserBSDeleteCurrentUserResult *serviceResult = [[UserBSDeleteCurrentUserResult alloc] init];
    
    return serviceResult;
}

@end

@implementation UserBSDeleteCurrentUserResult

@end